﻿namespace Conducido.WcfMessageLogger.Services.Behaviors.Entities.Config
{
    /// <summary>
    /// MessageLogConfiguration
    /// </summary>
    public class MessageLogConfiguration
    {
        /// <summary>
        /// 
        /// </summary>
        public MessageLogType WayOfLogging { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public ServiceMessageLogType ServiceMessageLogTransport { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Uri { get; set; }

        /// <summary>
        /// Ctor
        /// </summary>
        /// <param name="wayOfLogging"></param>
        /// <param name="serviceMessageLogTransport"></param>
        /// <param name="uri"></param>
        public MessageLogConfiguration(MessageLogType wayOfLogging, ServiceMessageLogType serviceMessageLogTransport, string uri)
        {
            WayOfLogging = wayOfLogging;
            ServiceMessageLogTransport = serviceMessageLogTransport;
            Uri = uri;
        }
    }
}
